/*
 *    word.cpp (WordTrending)
 *    Asif Shahidulalh
 *
 *    Defines the comparison operators for the word object.
 *
 *    Interesting note, overloaded operators need to be defined
 *    in a seperate file (i.e., a C++ cource file) while declared
 *    in a header file. This is because if we attempted to implement
 *    it the header file (word.h), the header file would still be
 *    included over multiple translation units, thusly redefining
 *    the symbol. This method presents one of two possible solutions,
 *    the other being defining the function as inline.
 *
 */

#include "word.h"
#include <string>

//bool operator< (const ece::tree::word& left, 
//                const ece::tree::word& right)
//{ 
//   return (left.string.compare (right.string) < 0); 
//}
//
//bool operator> (const ece::tree::word& left,
//                const ece::tree::word& right)
//{ 
//   return (left.string.compare (right.string) > 0); 
//}
